package com.tencent.sr.iris.activity.interfaces.request.acticity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author nixiaolin
 * @date 2023/2/16 9:55
 */
@Data
@ApiModel("uid邀请限额更新")
public class ActivityUidLimitUpdateRequest {

    @NotNull(message = "父级配置ID不能为空")
    @ApiModelProperty("父级配置ID")
    private Integer id;

    @Range(min = 0, max = 100000, message = "个人限额范围为0到100000")
    @NotNull(message = "个人限额不能为空")
    @ApiModelProperty("个人限额")
    private Integer limit;

    @NotBlank(message = "操作人uid不能为空")
    @ApiModelProperty("操作人uid")
    private String operatorUid;

}
